package com.atguigu.tingshu.search.repository;

import com.atguigu.tingshu.model.search.AlbumInfoIndex;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * @author zh
 * @date 2025/9/4
 * @description
 */
//<S extends T> S save(S entity);-->T是entity,操作哪个实体类写哪个
//Optional<T> findById(ID id);--->ID是个参数类型AlbumInfoIndex里的id:private Long id;
public interface AlbumIndexRepository extends ElasticsearchRepository<AlbumInfoIndex,Long> {

}
